package br.com.felix.fwt.ui.css;

import java.io.Serializable;

/**
 * Class that represents sizes.
 * In CSS and HTML, widths, heights and other properties are expressed with different measures.
 * This class is used to allow these many implementations.
 * */
public abstract class Size implements Serializable{

	private static final long serialVersionUID = -3918468920134721473L;


	/**
	 * Returns the CSS value for this Size.
	 * 
	 * @return the CSS value.
	 */
	public abstract String value();
		
	
	/**
	 * Returns the CSS value for this Size.
	 * 
	 * @return the CSS value.
	 */
	@Override
	public String toString(){
		return value();
	}
}
